package com.org.dao.common;

import java.util.List;

import com.org.bean.common.DisasterInfo;

public interface DisasterInfoMapper {
	/* 查询所有灾害点信息 */
	public List<DisasterInfo> findAll();
	
	public List<DisasterInfo> findProposalbyId(int disasterId);

	public List<DisasterInfo> findByName(String disasterName);
	/* 查询灾害点信息 */
	public List<DisasterInfo> findById(int tunnelId);

	/* 添加灾害点信息 */
	public boolean addDisaster(DisasterInfo disasterInfo);

	/* 删除灾害点信息 */
	public boolean deleteDisaster(int disasterId);

	public void updateProposal(DisasterInfo disasterInfo);
	/* 修改灾害点信息 */
	public boolean updateDisaster(DisasterInfo disasterInfo);
}